import 'package:get/get.dart';
import 'package:razer_one/app/modules/home/home/home_binding.dart';
import 'package:razer_one/app/modules/home/home/home_page.dart';
import 'package:razer_one/app/modules/home/home_add/home_add_binding.dart';
import 'package:razer_one/app/modules/home/home_add/home_add_page.dart';
import 'package:razer_one/app/modules/launch/launch_binding.dart';
import 'package:razer_one/app/modules/launch/launch_page.dart';
import 'package:razer_one/app/modules/me/password/password_binding.dart';
import 'package:razer_one/app/modules/me/password/password_page.dart';
import 'package:razer_one/app/modules/me/login/login_binding.dart';
import 'package:razer_one/app/modules/me/login/login_page.dart';
import 'package:razer_one/app/modules/me/me/me_page.dart';
import 'package:razer_one/app/modules/me/me/me_binding.dart';
import 'package:razer_one/app/modules/me/register/register_page.dart';
import 'package:razer_one/app/modules/me/register/register.binding.dart';
import 'package:razer_one/app/modules/root/root_binding.dart';
import 'package:razer_one/app/modules/root/root_page.dart';
import 'package:razer_one/app/routes/app_routes.dart';

class AppPages {
  static final pages = [
    GetPage(
        name: AppRoutes.launchRoute,
        page: () => const LaunchPage(),
        binding: LauchBinding()),
    GetPage(
        name: AppRoutes.initialRoute,
        page: () => const RootPage(),
        binding: RootBinding()),
    //首页
    GetPage(
        name: AppRoutes.homeRoute,
        page: () => const HomePage(),
        binding: HomeBinding()),
    GetPage(
        name: AppRoutes.homeAddRoute,
        page: () => const HomeAddPage(),
        binding: HomeAddBinding()),
    //我的
    GetPage(
        name: AppRoutes.meRoute,
        page: () => const MePage(),
        binding: MeBinding()),
    GetPage(
        name: AppRoutes.loginRoute,
        page: () => const LoginPage(),
        binding: LoginBinding()),
    GetPage(
        name: AppRoutes.registerRoute,
        page: () => const RegisterPage(),
        binding: RegisterBinding()),
    GetPage(
        name: AppRoutes.passwordRoute,
        page: () => const PasswordPage(),
        binding: ForgetBinding()),
  ];
}
